package richbar.com.richbar.bean;

import com.common.base.BaseResult;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by QiYang on 2018/12/21.
 */

public class OrderResult  extends BaseResult{



    private String msg;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"id":186,"sn":"2019010410050551","amount":"0.00","time":"2019-01-04 09:10:53","status":1,"isship":0,"iscomment":1,"options":{"appid":"wxede2d453578ac8be","partnerid":"1521374851","prepayid":"wx0409105344207317ae0a43902450821432","timestamp":"1546564253","noncestr":"kZ3RUimroxIQN4Kx","package":"Sign=WXPay","sign":"56623AC9024E9A13C98E9CF8F0734E94"},"goodsNum":1,"goods":[{"id":8,"num":1,"price":"185.00","name":"诗璐雅时尚商务小西装女职业装女装套装修身双排扣正装","img":"/upload/15428729341339.jpeg","seller_id":1,"seller_name":"店铺1"}],"sellerNum":1,"sellerName":"店铺1","goodsImg":["/upload/15428729341339.jpeg"]},{"id":68,"sn":"2019010354101102","amount":"0.00","time":"2019-01-03 11:21:42","status":1,"isship":0,"iscomment":1,"options":null,"goodsNum":1,"goods":[{"id":35,"num":1,"price":"456.00","name":"2018冬装新款 女加绒加厚半高领羊毛衫宽松套头毛衣中长款打底衫","img":"/upload/15446049853981.jpeg","seller_id":2,"seller_name":"小食代"}],"sellerNum":1,"sellerName":"小食代","goodsImg":["/upload/15446049853981.jpeg"]},{"id":67,"sn":"2019010353534898","amount":"0.00","time":"2019-01-03 11:17:09","status":1,"isship":0,"iscomment":1,"options":null,"goodsNum":1,"goods":[{"id":35,"num":1,"price":"456.00","name":"2018冬装新款 女加绒加厚半高领羊毛衫宽松套头毛衣中长款打底衫","img":"/upload/15446049853981.jpeg","seller_id":2,"seller_name":"小食代"}],"sellerNum":1,"sellerName":"小食代","goodsImg":["/upload/15446049853981.jpeg"]},{"id":66,"sn":"2019010397579797","amount":"0.00","time":"2019-01-03 11:15:22","status":1,"isship":0,"iscomment":1,"options":null,"goodsNum":1,"goods":[{"id":35,"num":1,"price":"456.00","name":"2018冬装新款 女加绒加厚半高领羊毛衫宽松套头毛衣中长款打底衫","img":"/upload/15446049853981.jpeg","seller_id":2,"seller_name":"小食代"}],"sellerNum":1,"sellerName":"小食代","goodsImg":["/upload/15446049853981.jpeg"]}]
         * total : 11
         * totalpage : 3
         * error : 0
         */

        private int total;
        private int totalpage;
        private int error;
        private List<ListBean> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getTotalpage() {
            return totalpage;
        }

        public void setTotalpage(int totalpage) {
            this.totalpage = totalpage;
        }

        public int getError() {
            return error;
        }

        public void setError(int error) {
            this.error = error;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 186
             * sn : 2019010410050551
             * amount : 0.00
             * time : 2019-01-04 09:10:53
             * status : 1
             * isship : 0
             * iscomment : 1
             * options : {"appid":"wxede2d453578ac8be","partnerid":"1521374851","prepayid":"wx0409105344207317ae0a43902450821432","timestamp":"1546564253","noncestr":"kZ3RUimroxIQN4Kx","package":"Sign=WXPay","sign":"56623AC9024E9A13C98E9CF8F0734E94"}
             * goodsNum : 1
             * goods : [{"id":8,"num":1,"price":"185.00","name":"诗璐雅时尚商务小西装女职业装女装套装修身双排扣正装","img":"/upload/15428729341339.jpeg","seller_id":1,"seller_name":"店铺1"}]
             * sellerNum : 1
             * sellerName : 店铺1
             * goodsImg : ["/upload/15428729341339.jpeg"]
             */

            private int id;
            private String sn;
            private String amount;
            private String time;
            private int status;
            private int isship;
            private int iscomment;
            private OptionsBean options;
            private int goodsNum;
            private int sellerNum;
            private String sellerName;
            private List<GoodsBean> goods;
            private List<String> goodsImg;
            private String fms;
            private String fmssn;

            public String getFms() {
                return fms;
            }

            public void setFms(String fms) {
                this.fms = fms;
            }

            public String getFmssn() {
                return fmssn;
            }

            public void setFmssn(String fmssn) {
                this.fmssn = fmssn;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getSn() {
                return sn;
            }

            public void setSn(String sn) {
                this.sn = sn;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getIsship() {
                return isship;
            }

            public void setIsship(int isship) {
                this.isship = isship;
            }

            public int getIscomment() {
                return iscomment;
            }

            public void setIscomment(int iscomment) {
                this.iscomment = iscomment;
            }

            public OptionsBean getOptions() {
                return options;
            }

            public void setOptions(OptionsBean options) {
                this.options = options;
            }

            public int getGoodsNum() {
                return goodsNum;
            }

            public void setGoodsNum(int goodsNum) {
                this.goodsNum = goodsNum;
            }

            public int getSellerNum() {
                return sellerNum;
            }

            public void setSellerNum(int sellerNum) {
                this.sellerNum = sellerNum;
            }

            public String getSellerName() {
                return sellerName;
            }

            public void setSellerName(String sellerName) {
                this.sellerName = sellerName;
            }

            public List<GoodsBean> getGoods() {
                return goods;
            }

            public void setGoods(List<GoodsBean> goods) {
                this.goods = goods;
            }

            public List<String> getGoodsImg() {
                return goodsImg;
            }

            public void setGoodsImg(List<String> goodsImg) {
                this.goodsImg = goodsImg;
            }

            public static class OptionsBean {
                /**
                 * appid : wxede2d453578ac8be
                 * partnerid : 1521374851
                 * prepayid : wx0409105344207317ae0a43902450821432
                 * timestamp : 1546564253
                 * noncestr : kZ3RUimroxIQN4Kx
                 * package : Sign=WXPay
                 * sign : 56623AC9024E9A13C98E9CF8F0734E94
                 */

                private String appid;
                private String partnerid;
                private String prepayid;
                private String timestamp;
                private String noncestr;
                @SerializedName("package")
                private String packageX;
                private String sign;

                public String getAppid() {
                    return appid;
                }

                public void setAppid(String appid) {
                    this.appid = appid;
                }

                public String getPartnerid() {
                    return partnerid;
                }

                public void setPartnerid(String partnerid) {
                    this.partnerid = partnerid;
                }

                public String getPrepayid() {
                    return prepayid;
                }

                public void setPrepayid(String prepayid) {
                    this.prepayid = prepayid;
                }

                public String getTimestamp() {
                    return timestamp;
                }

                public void setTimestamp(String timestamp) {
                    this.timestamp = timestamp;
                }

                public String getNoncestr() {
                    return noncestr;
                }

                public void setNoncestr(String noncestr) {
                    this.noncestr = noncestr;
                }

                public String getPackageX() {
                    return packageX;
                }

                public void setPackageX(String packageX) {
                    this.packageX = packageX;
                }

                public String getSign() {
                    return sign;
                }

                public void setSign(String sign) {
                    this.sign = sign;
                }
            }

            public static class GoodsBean {
                /**
                 * id : 8
                 * num : 1
                 * price : 185.00
                 * name : 诗璐雅时尚商务小西装女职业装女装套装修身双排扣正装
                 * img : /upload/15428729341339.jpeg
                 * seller_id : 1
                 * seller_name : 店铺1
                 */

                private int id;
                private int num;
                private String price;
                private String name;
                private String img;
                private int seller_id;
                private String seller_name;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getNum() {
                    return num;
                }

                public void setNum(int num) {
                    this.num = num;
                }

                public String getPrice() {
                    return price;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getImg() {
                    return img;
                }

                public void setImg(String img) {
                    this.img = img;
                }

                public int getSeller_id() {
                    return seller_id;
                }

                public void setSeller_id(int seller_id) {
                    this.seller_id = seller_id;
                }

                public String getSeller_name() {
                    return seller_name;
                }

                public void setSeller_name(String seller_name) {
                    this.seller_name = seller_name;
                }
            }
        }
    }
}
